Part Number Hot Search : 
1T244 AON3408 1T244 1T244 2SC4710 M74AL FN2810 SPB80N06
Product Description
Full Text Search
 

To Download AK4571VQ Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  asahi kasei [ak4571] ms0153-e-03 2005/06 - 1 - features: ? usb audio controller 12 mbps bit rate usb serial interface engine (sie) audio class processing block 4 endpoints usb transceiver ? 16bit codec - single-channel a/d converter microphone pre-amp (fixed gain: 20db) mute/volume control programmable gain control +24db to ?31db ( 1db step ) - d/a converter 2 channels - mixer mute/attenuation control +0db to ?47db ( 1db step ) analog bass boost ? hid support - remote control of playback volume/mute - recording mute/status function ? power management - control of external headphone amplifier - low power at suspend mode (< 1ua) ? eeprom interface (microwire interface) - can read device/string descriptor from eeprom - 1k/2k/4k bit eeprom ? on-chip pll 7 sampling frequencies: 8khz, 11.025khz, 16khz, 22.05khz, 32khz, 44.1khz, 48khz ? single power supply, low power +3.3volts 0.3v ? package 48pin lqfp general description: the ak4571 is a usb interface audio codec. the ak4571 incorporates a 16-bit codec, plls, usb transceiver, sie (serial interface engine), audio class pr ocessing unit, fifo and other required signals into a single chip. the ak4571 can simultaneously transmit and re ceive audio stream data through usb bus. in addition to this, the single-channel adc and 2- channel dac can operate at different sampling rates. the ak4571 has a programmable gain amplifier for analog input (ipga). the gain range is from ?31db to +24db with 1db steps. in addition to the ipga, the ak4571 also has a fixed +20db pre-amplifier. analog input signals can be mixed directly with the d/a signal and sent to the lineout pins of the chip. the analog outputs of the ak4571 can be attenuated up to ?47db in 1db steps. the ak4571 also has an analog bass boost circuit. bass boost response ca n be modified by changing the values of external resistors and capacitors. the ak4571 has a human interface device function that allows a user to control the playback volume at the device side. the playback volume on mixer applet moves up or down automatically by the operation of hid buttons. the ak4571 also can mute analog input signal locally in addition to mixer applet control. the ak4571 has advanced power management capabilities. suspend current is less than 1ua. the ak4571 can also control the power of an external headph one amplifier to conform to the usb suspend current requirement of 500ua maximum. the ak4571 has a microwire interface for an external eeprom, allowing customization of vendor id and product id. the high integration of the ak4571 reduces both the number of external components required and the pcb area required to build usb devices, including small format products such as usb headsets. ak4571 usb interface audio codec
asahi kasei [ak4571] ms0153-e-03 2005/06 - 2 - block diagram micin att att lout rout adc dac master volume fifo audio control block usb serial interface engine usb transceiver dp dn vd dgnd va lflt_44k pll1 micbias xtlin xtlout crystal rstn amp1o amp2i amp2o lflt_48k vcom vrad config rom string rom power management dac gain eps w pll gain mixer m m m m vrda epdo sk eeprom i/f epen ems w 20db epai cs fifo fifo epsel vref agnd imute omute dec inc stb y mstat bass boost bass boost rbf i rbfo lbfo lbf i bgnd lflt_sys
asahi kasei [ak4571] ms0153-e-03 2005/06 - 3 - ordering guide AK4571VQ 0 +70 c 48pinlqfp(0.5mm pitch) akd4571 evaluation board for ak4571 pin layout xtalout vd dgnd bgnd epsw xtalin stb y emsw lflt_sys 1 10 20 30 40 5 15 25 35 45 micin a mp1o a mp2i a mp2o lbfi rbfi rbfo rout epdi epao sk cs testmode2 v rd a v rad a gnd va dn dp rstn susn omute dec inc mstat micbias imute epsel epen lflt_44 k lflt_48 k vcom lbfo lout test3 test1 test2 testmode1 testmode3
asahi kasei [ak4571] ms0153-e-03 2005/06 - 4 - pin/function no. signal name i/o ana / dig description usb interface 46 dp i/o d usb bus non-inverting pin. since the ak4571 is a full-speed device, a 1.5k ? resistor must be connected between d+ node to vd. 47 dn i/o d usb bus inverting pin. reset, crystal, pll 45 rstn i d reset pin. low input resets the chip. schmitt trigger input. 44 susn o d suspend pin "l": suspend mode ?h?: normal mode 4 xtalout o a crystal oscillator output, connect crystal resonator. connect capacitor 5 xtalin i a crystal oscillator input, co nnect crystal resonator. connect capacitor 9 lflt_sys o a system pll loop filter pin. connect 2.7k ? resistor and 22nf capacitor in series externally. 10 lflt_44k o a codec pll loop filter pin. connect 120k ? resistor and 6.8nf capacitor in series externally. 11 lflt_48k o a codec pll loop filter pin. connect 120k ? resistor and 6.8nf capacitor in series externally. analog input/output 12 vcom o a analog common voltage reference pin 27 vrad o a adc common voltage reference pin. 28 vrda o a adc common voltage reference pin. 14 micin i a mono channel microphone input 15 amp1o o a mono channel 1 st amplifier output pin 16 amp2i i a mono channel 2 nd amplifier input pin 17 amp2o o a mono channel 2 nd amplifier output pin please connect 1nf capacitor. 21 lout o a left channel d/a out 24 rout o a right channel d/a out 19 lbfi i a left channel bass boost filter input pin 20 lbfo o a left channel bass boost filter output pin 22 rbfi i a right channel bass boost filter input pin 23 rbfo o a right channel bass boost filter input pin 13 micbias o a voltage reference output for the microphone?s bias voltage when the chip goes into suspend mode, this pin goes to hi-z. external headphone amplifier control 6 epsw o external headphone amplifier power switch control pin 1 ?h?: normal operation ?l?: suspend mode 7 stby o external headphone amplifier power switch control pin 2 ?l?: normal operation ?h?: suspend mode 8 emsw o external headphone amplifier mute control pin ?h?: mute on ?l?: mute off
asahi kasei [ak4571] ms0153-e-03 2005/06 - 5 - no. signal name i/o ana / dig description eeprom i/f 31 cs o d eeprom i/f chip select pin 32 sk o d read clock pin 34 epdi i d eeprom data input pin 33 epao o d eeprom address output pin 35 epen i d eeprom enable pin "h": read device/string descriptor from external eeprom ?l?: read device/string descriptor from internal rom. cs,sk,epdi,epao are hi-z 36 epsel i d eeprom select ?l?: 1kbit type eeprom is connected. ?h?: 2kbit/4kbit eeprom is connected hid interface 39 imute i d a/d mute toggles mute status at the rising edge. if this pin is not used, please connect this pin to dgnd. 43 omute i d d/a mute sets ?1? to internal register at the rising edge, and reset to ?0? at the falling edge. if this pin is not used, please connect this pin to dgnd. 41 inc i d d/a volume up pin sets ?1? to internal register at the rising edge, and reset to ?0? at the falling edge. if this pin is not used, please connect this pin to dgnd. 42 dec i d d/a volume down pin sets ?1? to internal register at the rising edge, and reset to ?0? at the falling edge. if this pin is not used, please connect this pin to dgnd. 40 mstat o d recording mute status pin. ?h?: mute on ?l?: mute off in suspend mode, this pin is ?l?. power supply 25 va p a analog power supply, 3.3v 26 agnd p a analog ground 1 vd p d digital power supply, 3.3v 2 dgnd p d digital ground 3 bgnd p d bulk ground, 0v test mode 18 testmode1 i please tie down to agnd for normal operation. 29 testmode2 i please tie down to agnd for normal operation. 30 testmode3 i please tie down to agnd for normal operation. 38 test1 i please tie down to dgnd for normal operation. 37 test2 o please open state 48 test3 i please tie down to dgnd for normal operation.
asahi kasei [ak4571] ms0153-e-03 2005/06 - 6 - absolute maximum rating agnd, dgnd=0v parameter symbol min max units power supplies analog digital |dgnd-agnd| va vd ? gnd -0.3 -0.3 4.5 4.5 0.3 v v v input current (any pins except for supplies) iin - 10 ma analog input voltage vina -0.3 va+0.3 v digital input voltage vind -0.3 vd+0.3 v ambient temperature ta 0 70 c storage temperature tstg -40 125 c note 1. all voltages with respect to ground warning: operation at or beyond these limits may result in perm anent damage to the device. normal operation is not guaranteed at these extremes. recommended operating condition agnd, dgnd=0v parameter symbol min typ max units power supplies analog digital va vd 3.0 3.0 3.3 3.3 3.6 3.6 v v all voltages with respect to ground. * akm assumes no responsibility for usage beyond the conditions set forth in this datasheet.
asahi kasei [ak4571] ms0153-e-03 2005/06 - 7 - analog characteristics ta=25 c,va=vd=3.3v, signal frequency=1khz, sampling frequency fs=44.1khz bw=20hz ? 20khz, test mode; unless otherwise specified parameter min typ max units mono adc (1 channel) resolution 16 bits s/n (a weight) @44.1khz (pga is set to 0db) amp2i input : usb normal mode 83 dba s/(n+d) (-1.0db analog input) usb normal mode 73 db full scale input voltage 0.53 0.6 0.67 vrms mic amplifier s/n (a weight) micin input amp1o output 76 84 dba gain 20db selected +17 +20 +23 db input impedance 10 20 k ? stereo dac (2 channel) resolution 16 bits s/n (a weight) @44.1khz (dac volume &master volume is set to 0db) usb normal mode 84 dba s/(n+d) (-1.0db digital input) usb normal mode 75 db full scale output voltage 0.53 0.6 0.67 vrms pga step size 0 1.0 2.0 db attenuation control range -31 +24 db input impedance amp2i input 10 20 k ? master volume: step size 0 1.0 2.0 db attenuation control range -47 0 db output load resistance 10 k ? output load capacitance 5 pf bass boost internal resistance 40 k ? external resistance 360 400 k ? external capacitance 5 pf mic bias (buffer amp) output voltage 1.94 2.2 2.46 vdc output current 2 ma power supplies analog digital total power down(suspend) 35 15 50 0 52 23 75 150 ma ma ma ua
asahi kasei [ak4571] ms0153-e-03 2005/06 - 8 - filter characteristics ta=25 c, va=vd=3.3v, fs=44.1khz parameter min typ max units adc digital filter ( decimation lpf) pass band ( 0.2db) 0 17.64 khz stop band 26.5 khz stop band attenuation 70 db group delay 0.363 ms adc digital filter (hpf) frequency response: -3db -0.5db -0.1db 6.89 19.3 44.9 hz dac digital filter pass band ( 0.2db) 0 17.64 khz stop band 26.5 khz stop band attenuation 70 db group delay 0.312 ms dac analog post filter pass band frequency response - 0.1 - db
asahi kasei [ak4571] ms0153-e-03 2005/06 - 9 - digital dc characteristics ta=0 - 70 c; vd=3.0 - 3.6v; dgnd=0v me asurement under static state all digital pins except dp, dn. schmitt hysteresis level of rstn pin and levels of all test pins will not be tested. parameter symbol min typ max units epdi,epen, epsel, pin ?h? level input voltage vih 70%vd v epdi, epen, epsel pin ?l? level input voltage vil 30%vd v rstn pin ?h? level voltage vihr 2.4 v rstn pin ?l? level voltage vilr 0.8 v imute, omute, inc, dec pin ?h? level voltage vihr 2.4 v imute, omute, inc, dec pin ?l? level voltage vilr 0.8 v susn, epsw, stby, emsw, mstat pin ?h? level output voltage ioh= 2ma voh 2.4 v susn, epsw, stby, emsw, mstat pin ?l? level output voltage iol= -2ma vol 0.6 v cs, sk, epao pin ?h? level output voltage ioh= 2ma voh 2.4 v cs, sk, epao pin ?l? level output voltage iol= -2ma vol 0.6 v dp, dn single ended receiver threshold for ?h? level vihr 2.0 v dp, dn single ended receiver threshold for pin ?l? level vilr 0.8 v input leakage current iin 10 a pull down resistance (only epdi pin)@3.3v ta=25 c rpd 100 k ? switching characteristics ta=25 c, va=vd=3.3v parameter symbol min typ max units master clock frequency mclk - 12.000 - mhz reset input width @rstn pin(low active) wrst 1.0 us time width for usb reset signal recognition dp vsel & dn < vsel ) to suspend mode tsus_rec 4.36 ms resume time from suspend first flip of dp/dn from idle state to device ready*) tresm 30 ms imute input width with @imute pin(hi gh active) wimute 10.005 ms omute,dec,inc input widt h with @omute,dec,inc pin (high active) wodi 2.001 ms device ready: vref, x?tal oscillator and pll are stable and standard bus transactions can proceed
asahi kasei [ak4571] ms0153-e-03 2005/06 - 10 - master clock d- d+ trst _ rec tdrr tsus _ rec tresm recover y time resume time figure 1. mode change with respect to bus states transmitter/receiver characteristics ta=25 c; vd=3.3v; dgnd=0v; cl=50pf parameter symbol pins conditions min typ max units transmitter data rate dr dp,dn 11.97 12 12.03 mhz output impedance (hi) roh dp, dn dp, dn=?h? at iout = -10ma 36 ? output impedance (lo) rol dp, dp dp, dn=?l? at iout = 10ma 36 ? ?h? level output voltage vohd dp, dn at iout =-200ua 2.8 v ?l? level output voltage vold dp, dn at iout =2.2ma 0.3 v tri-state leakage current iolk dp, dn 0 < dp, dn< 3.3v -10 10 a rise/fall time trf/tff dp, dn 4 10 20 ns rise/fall time matching trfm dp, dn 100 % crossover point vcrs dp, dn 1.65 v receiver input common mode range cmr dp, dn 0.8 2.5 v differential input level vdiff dp, dn | dp ? dn | 0.2 v
asahi kasei [ak4571] ms0153-e-03 2005/06 - 11 - 10%vd 90%vd t rs t rf dp, dn t fs t ff figure 2. rise/fall time v crs dp, dn figure 3. crossover point
asahi kasei [ak4571] ms0153-e-03 2005/06 - 12 - 1 device overview 1.1 pll and sampling rates the ak4571 has three plls in addition to a crystal oscillation circuit. the first pll generates a system clock at 48mhz, the se cond pll generates the clock for 44.1khz sample rates (including derivatives of this sample rate) and third pll generates the clock for 48khz sample rates (including derivatives). the codec clocks are generated from the usb sof, so they are sy nchronized with usb sof. the adc and dac operate at one of seve n sampling rates, 8khz, 11.025khz, 16khz, 22.05khz, 32khz, 44.1khz, and 48khz. the adc and dac can operate at different sampling rates. 1.2 a/d converter & d/a converter the ak4571 has a 16-bit single-channel a/d converter, and a 16- bit two-channel d/a converter. the ak4571 has a programmable ga in amplifier for the analog input (ipga) with a range from ?31db to + 24db in 1db steps. in addition to the ipga, the ak4571 has a fixed 20db gain pre-amplifier. therefore the total gain of the analog input is +44db maximum. analog output can be attenuated from 0db to 47db in 1db steps. analog input and the d/a signal can be mixed in the chip and sent to the line outputs. the lineout volume, the microphone playback volume, and the microphone recording volume can be controlled directly from the pc 1.3 bass boost control the ak4571 has an analog bass boost circuit, and can boost the bass frequencies of the lineout sign al by up to 20db. frequency response and dc gain are adjusted by external resistors and capacitors. the bass boost effect is controlled via the hid application. 1.4 serial interface engine (sie) & audio class processing block the ak4571 has a serial interface engine that processes lower-lev el protocols like crc checking, bit stuffing, nrzi encoding/de coding, in addition to higher-level protocol like usb standard requests. sie also notifies the backend that it has received an audio c lass request, and passes the request to the backend. the backend decodes and processes audio class request like mute requests, volume reques ts and sampling frequency control requests. therefore, the ak4571 do es not require a micro-controller for this processing. 1.5 hid (human interface device) since the ak4571 supports hid function, mute and volume can be controlled remotely. the host knows whether the playback volume/mute button has been pressed or not by issuing an interr upt request periodically, and notifies the application that the status has changed. the software application issues the volume/mute reques t in order to synchronize the software with the ak4571. input/ recording signals can be also muted independently of the software application. 1.6 eeprom i/f the ak4571 has all of its descriptors in its internal rom, so it does not require external an eeprom. however vendor id, vendor name, product id, and product name can be also customized by using an external microwire interface eeprom. a microwire ? type, 1k, 2k, or 4k eeprom can be used.
asahi kasei [ak4571] ms0153-e-03 2005/06 - 13 - 1.7 power management the ak4571 starts its transition to suspend mode when the idle state of usb bus continues more than 3ms. the ak4571 suppresses the power-supply current (typ.1ua) while in suspend mode because all blocks, including plls, pare placed in power-down mode. under normal operation the ak4571 supplies a bias voltage via the output buffer to the microphone. in suspend mode, the micbias pin goes to a hi-z state, and the ak4571 does not supplying this current to the microphone. the ak4571 also has 3 pins for control of an external headphone am plifier. these pins are used to suppress the power-supply cur rent during suspend mode in addition to suppressing ?pop noise? during the transition of suspend/resume. the ak4571 has two pins for power -control because there are ?active high? types and ?active low? types of external headphone amplifiers. third pin is for the mute contr ol to suppress transitional pop noise. the usb bus consumes 200ua current even in suspend mode. a regulator also consumes current in standby mode. even with these dev ices consuming power the system can still conf orm to the 500ua usb specification because of the ak4571 low-power consumption and its control of the microphone and headphone power circuits. theak4571 is ready for operation 30ms after transiti oning from suspend mode to normal operating mode. 1.8 usb transceiver the ak4571 includes a usb transceiver.
asahi kasei [ak4571] ms0153-e-03 2005/06 - 14 - 2 functional description 2.1 synchronization of the host and the ak4571 the adc and dac in the ak4571 operate synchronously with the sof (start of frame) of the usb bus. usb?s isochronous transfer guarantees that audio stream data is transferred once per frame . however, usb does not specify the start point of the transfer in a frame. the worst-case period between two transfers is about 2ms.theref ore the ak4571 has a fifo that stores 2ms audio stream data. if the codec operates at 44.1khz sampling frequency, the ak4571 expects that 45 samples are transferred once per10 frames. (ple ase see figure 4) the average sampling frequency in figure 4 is 44.1khz. 44 samples 44 samples 45 samples n frame (n+1) frame (n+9) frame 44 samples (n+10) frame figure 4 synchronization scheme the ak4571 transmits all a/d data stored to fifo in the previous frame while updating the a/d data to fifo in the current fra me. the sample count of 48khz series d/a data per frame is fixed in a ll frames. for 44.1khz, the appearance of 45 samples should be ju st one time per 10 frames. if the d/a clock and sof clock operated asynchro nously, the fifo would overrun or underrun, and an audible pop noise would occur periodically. therefore, codec clocks are synchronized with sof clock. in order to achieve this synchronization, the ak4571 has built-in two plls for codec clocks and generates clocks for both of 48khz sample rate series and 44.1 sample rate se ries. 2.2 power management usb devices fall into one of three power categories: 1) low- power bus-powered devices (<100m a) 2) high-power bus-powered devices(>100ma, <500ma) 3) self-powered devices. as the ak4571 is a low-power consumption devi ce, it can be defined as a low-power bus-powered device and can be connected to a bus-powered hub. (high-power bus-powered devices can't be connected to a bus-powered hub) usb specifications require a maximum of 500ua in suspend mode. this includes the current dr awn between vbus and ground throu gh the 1.5 k ohm resistor tied to d+ line and vbus. this current is about 200ua. two points should be considered in order to obs erve the usb suspend mode specification. a) suppression of the ak4571 current all blocks including adc, dac, pll go to power-down mode when the idle state continues for more than 3ms. values like volume and mute status are preserved in suspend mode. b) control of external circuits the usb specification does not permit more than 500 a of current in suspend mode. therefore, the ak4571 must control the power dissipation of the external headphone amplifier and microphone. si nce the micbias pin is in a hi-z state in suspend mode, the ak4571 does not supply current to the microphone. headphone amplifiers commonly have power-down pin and can be contro lled externally. there are two types of power-control logic ; active-low and active-high. some headphone amplifiers have a mute pin for suppressi ng pop noise. the ak4571 supports all of these headphone amplifiers.
asahi kasei [ak4571] ms0153-e-03 2005/06 - 15 - stb y emsw(mute sw) sus_n(internal) sof epsw(stby) 1.45ms 1.45ms figure 5 suspend and resume sequence
asahi kasei [ak4571] ms0153-e-03 2005/06 - 16 - 2.3 bias circuit for microphone the ak4571 supplies a bias voltage to the microphone through the mi cbias pin. the output voltage is about 2.2 volts and output current is 2ma maximum. since the microphone's output signal level is very low, the noise level of the bias voltage should also be low . usb bus transactions typically cause variation of the regulator's output. however, the ak4571 has a built-in voltage reference for mic bias, and suppresses the bias noise caused by the regulator. coupling capacitors should be connected in pa rallel between the two resistors (i.e. ra=300 ? , and rb=4.7k ? /2.2k ? ) in order to make the bias circuit stable. the appropr iate value, rb, depends on the microphone ?s characteristics. the output is placed in a hi-z state in suspend mode. 2.4 eeprom interface the ak4571 has all descriptors, including string descriptors, in it s internal rom so it does not require an external eeprom. t he ak4571 also has an eeprom interface so that an external eeprom can be attached for customizing vendor id, product id, vendor name and product name. the epen pin should be ?l? if the eeprom is not used. cs, sk, epao pins are at a hi-z state in this configuration. please see ?descriptors in detail? section for internal rom information. the epen pin should be ?h? if an external eeprom is used. th e ak4571 reads the device descriptor from the eeprom after a usb reset. the ak4571 starts to read string descriptor just after receiving ?get descriptor (string)? request. with the ak4571 you can customize the following fields: 1) device descriptor (18 bytes) 2) string descriptor (language id, manufacturer name, product name) microwire type (4 wire) , 1k/2k/4k bit eeprom can be used (for ex ample, ak93c45a/55a/65a) if a 1kbit eeprom is selected, the length of manufacturer name or product name should be just 50 bytes. as each string descriptor requires 2-bytes of length information, the total length of each string descriptor is 52 bytes. if a 2k/4k bit eeprom is selected, the length of manufacturer name or product name should be just 100 bytes. as each string descriptor requires 2-bytes of length information, the total length of each string descriptor is 102 bytes. if a 1k bit eeprom is used, epsel pin should be ?l ? while epsel pin should be ?h? for a 2k/4k eeprom. the length in both cases should be exactly 52 bytes or 102 bytes, no longer, no shorter. table 1 shows the relationship between eeprom address and descriptor. 1k bit eeprom (ak93c45a) 2k/4k bit eeprom (ak93c55a/65a) device descriptor (18 bytes) 00h -08h 00h-08h string descriptor lang id (4 bytes index = 0) 09h ?0ah 09h-0ah string descriptor imanufacturer (52 or 102 bytes: index =1) 0bh-24h- 0bh-3dh string descriptor iproduct (52 or 102 bytes: index = 2) 25h-3eh 3eh-71h table 1 relationship between eeprom address and descriptor since the ak4571 cannot write data to the eeprom, the eeprom should be mounted on the pcb after it has been programmed with the necessary data. please refer to the akm eeprom datasheet for the write sequence. if eeprom is not used (epen =?l"), an eeprom should not be mounted on the pcb because the cs, ck and epao outputs are hi-z when epen = ?l?.
asahi kasei [ak4571] ms0153-e-03 2005/06 - 17 - 2.5 bass boost the ak4571 has an analog bass boost that is activated by mounti ng a resistor and a capacitor between lbfo-lbfi, and rbfo-rbfi respectively as figure 6 shows. bass frequencies can be amplifie d up to 20db by selecting an appropriate resistor. cut-off fr equency shifts as the capacitor value varies. lbfi/rbfi lbfo/rbfo c b r b external circuit figure 6 analog bass boost circuit bass boost 0 5 10 15 20 25 10 100 1000 10000 100000 frequency[hz] gain[db] rb=360k cb=4.7nf rb=360k cb=1nf rb=120k cb=2.2nf figure 7 bass boost characteristics
asahi kasei [ak4571] ms0153-e-03 2005/06 - 18 - 2.6 hid (human interface device) 2.6.1 hid overview the ak4571 has two pins for incrementing or decrementing the line out volume (inc pin and dec pin), and has a pin for the contro l of mute (omute pin). for example, the lineout volume slider in a windows application au tomatically moves up at the rising edge of inc pin. this means that the value in the windows program is synchronized with the device's hardware value. if a button is pressed, the internal bit assigned to it is set to ?1?. based on the usb spec for hid, the host knows whether t he inc button and/or dec button and/or omute buttons are pressed or not by pe riodically issuing an interrupt transfer request. the ak4571 no tifies the host of the status change, but does not cha nge the value itself. the application program changes the value by issuing a set fe ature request. 2.6.2 hid details the ak4571 has interface (#3) and interrupt endpoint (#4: 1 byte) commands for hid. figure 8 shows hierarchy of hid interface. standard interface descriptor hid descriptor endpoint descriptor ep address interrupt endpoint etc. descriptor type length of report descriptor etc. interface number interface class(hid) etc. interface #3 figure 8 hierarchy of hid interface interrupt endpoint is 1 byte, and lower 3 bits are valid. bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ?0? ?0? ?0? ?0? ?0? omute dec inc internal bits[2:0] are set to ?1? at the rising edge of omute, in c or dec pins, and are cleared to ?0? at the falling edge of t hese respective pins. the ak4571 transmits 1 byte of data through the interrupt pi pe. if none of the buttons ar e pressed or if a button is co ntinually pressed, the ak4571 sends nak to the host.
asahi kasei [ak4571] ms0153-e-03 2005/06 - 19 - sof interrupt transfer omute dec inc ?1? nak ?0? nak nak binterval nak figure 9 interrupt transfer timing illustrates a switch de-bounce circuit (highly recommended) 3.3v imute omute dec inc 47 k 0.1u figure 10 switch de-bounce circuit figure 10 illustrates a switch de-bounce circuit (highly recommended) if hid function is not used, please connect omute pin, dec pin, inc pin, to dgnd. 2.6.3 imute pin and mstat pin the ak4571 has an imute pin for mute control of the recording path. mute status toggles on the rising edge of the imute pin. note that pressing a physical button connected to imute changes the internal state. this may cause an inconsistent mute state between th e device and the windows application. mstat pin reflects the actual mute status of the device. this limitation comes from the fact tha t the windows os does not support hid audio for record ing. the mstat pin is forced to ?l? in suspend mode regardless of previous stat e. mstat = (internal imute status) & sus_n; normal operation: ?h? -> mute on ?l? -> mute off suspend state: ?l? figure 10 illustrates a switch de-bounce circuit (highly recommended) if imute pin is not used, please connect it to dgnd.
asahi kasei [ak4571] ms0153-e-03 2005/06 - 20 - 2.7 audio format the ak4571 supports only the 16-bit, 2?s comp liment audio format, and outputs lsb first. 1) 16bit mono data format on the usb (a/d data) sample # #1 #2 #3 ? mono mono mono ? lower 8 bit upper 8 bit lower 8bit upper 8 bit lower 8 bit upper 8 bit ? bit position 0-7 8-15 0-7 8-15 8-15 8-15 ? 2) 16bit stereo data format on the usb (d/a data) sample # #1 #2 ? left channel data right channel data left channel data right channel data ? lower 8 bit upper 8 bit lower 8 bit upper 8 bit lower 8 bit upper 8 bit lower 8bit upper 8 bit ? bit position 0-7 8-15 0-7 8-15 0-7 8-15 0-7 8-15 ?
asahi kasei [ak4571] ms0153-e-03 2005/06 - 21 - 2.8 device topology and function usb audio devices must report their capabilities to the host and must report the topology that describes the connections betwee n blocks. figure 11 shows the topology of the ak4571. the host obtains the capabilities and connection diagram from the device by reading the audio control (ac) interface descriptor . the volume, mute, and sampling rate are controlled via audio class specific requests. 1) in endpoint#1 for a/d data is related to the mic signal that is described as [ot1]. the mic signal is amplified via fu1 and is digitized by the a/d converter and transmitted to the host. 2) out endpoint#2 for d/a data is related to the lineout. the d/a analog signal is mixed with the mic analog signal that is ampli fied through fu2. the mixed analog signal can be atte nuated/boosted by fu3, and is output via lineout. 3) endpoint#3 for hid is related to playback mute and volume up/down. a udio streaming interface #1 in endpoint #1 a udio streaming interface #2 out endpoint #2 id:1 id:4 it1 microphone it2 id:3 a udio control interface #0 id:2 ipga opga id:5 mu1 fu1 fu2 fu3 id:8 ot2 lineout id:6 ot1 output input mic (+20db) d/a (analog) id:9 a/d d/a hid interface #3 in endpoint #3 id:7 su1 figure 11 ak4571 topology
asahi kasei [ak4571] ms0153-e-03 2005/06 - 22 - 2.8.1 terminal/units a) input terminal (it) it is abbreviation of input terminal: it1 (m icrophone input id:1), it2 (d/a input id:3) b) output terminal (ot) ot is abbreviation of output terminal: ot 1(a/d output id:2), ot2 (lineout id:4) c) fu (feature unit) the fu (feature unit) describes that the ak4571 has volume/mute/bass-boost functions by setting the bmacontrols(0), bmacontrols(1) , bmacontrols(2) to ?1?. the bit position assigned to the bass-boost function is d8, the length of bcontrolsize for fu3 is 0x02, and others are 0x01. bmacontrol(0) means master channel. the ak4571 controls dac mute or bass-boost via the master channel, and controls dac volume via channel 1 and channel 2 controls. since the ak4571 i nput is a single-channel, it controls both adc mute and volume via the master channel. e) mu (mixer unit) the mu (mixer unit) describes mixing and vol ume control functions. each input channel is connected to all output channels per t he usb audio class specification shown in figure 12. only mixing function is available in the ak4571 because the volume is contr olled via feature unit. therefore, bitmap of bmcontrol in mixer unit descriptor is all ?0?. lch lineout rch lineout d/a lc h d/a rc h master channel (microphone) mixer unit 1 figure 12 channel connection f) su (selector unit) selector unit is unnecessary for the ak4571's topology. windows application does not display play back mic volume slider if the ak4571 does not define selector unit.
asahi kasei [ak4571] ms0153-e-03 2005/06 - 23 - 2.8.2 descriptor overview when the ak4571 is connected to the usb bus, the host assigns unique address to the device first, and starts reading of the dev ice?s information via a default pipe. descriptors consist of (1) devi ce descriptor, (2) configurati on descriptor, (3) interface desc riptor, (4) endpoint descriptor. the ak4571 is defined as a device with one configuration and four interfaces. it has one endpoint (ep) for interface#0, one ep for interface#1 (adc), one for interface#2 (dac), and one for interface#3 (hid ) configuration descriptor device descriptor standard audio control interface descriptor class-specific audio control interface descriptor standard as interface descriptor alt. setting 0 class-specific as format type descriptor standard as isochronous endpoint descriptor class-specific as isochronous endpoint descriptor standard as interface descriptor alt. setting 1 class-specific audio streaming interface descriptor i nter f ace i n endpoint ( i soch r onous) c on fi gurat i on d ev i ce standard as interface descriptor alt. setting 0 class-specific as format type descriptor standard as isochronous endpoint descriptor class-specific as isochronous endpoint descriptor standard as interface descriptor alt. setting 1,2 class-specific audio streaming interface descriptor input terminal descriptor output terminal descriptor feature unit descriptor(mute,volume,agc) i nterface 1 i nterface 2 mixer unit descripto r selector unit descripto r out endpoint ( isochronous ) standard as interface descriptor alt. setting 0 hid descriptor i nterface 3 standard hid interrupt endpoint descriptor i n endpoint (inte rr upt) i nterface 0 figure 13 descriptor hierarchy
asahi kasei [ak4571] ms0153-e-03 2005/06 - 24 - ? device descriptor device descriptor includes product name, manufacturer name, pr oduct revision, etc. and it also includes the number of configur ations (the ak4571 is a one configuration device). ? configuration descriptor configuration descriptor includes the device type, which is descri bed as bus-powered device or self-powered device, power consu mption, number of interfaces, etc. the ak4571 is defined as a low-power bus-powered device with four interfaces. ? interface descriptor the ak4571 has four interfaces as follows. a) audio control (ac) interface b) audio streaming (as) interface1 for a/d converter c) audio streaming (as) interface2 for d/a converter d) hid interface for mute & volume control ac interface includes topology information, input/output terminal information, and fu nction information in addition to the stan dard class interface descriptor. as interface also includes audio format and sampling frequencies. the ak4571 has two alternates for interface#1 (adc), and interfa ce#2 (dac). the default state is alt0, and alt 0 does not occu py usb bandwidth. alt 1 is used as the interface for audio streaming data. the ba ndwidth occupied by a/d data and d/a data are 100 bytes and 200 bytes respectively, and each value is described in the wmaxpacketsize field in the standard endpoint descriptor in each interface. ? endpoint descriptor endpoint 0 (ep0: default pipe) is used for ac interface. the ep for the as interface includes in/out, synchronization type, ma ximum packet length, etc. the ak4571 also has one interrupt endpoint for the hid interface. the ak4571 returns one byte of information at the interrupt transfer just after the playback volume or mute buttons are pr essed. if no buttons are pr essed, the ak4571 returns nak.
asahi kasei [ak4571] ms0153-e-03 2005/06 - 25 - 3 descriptors in detail 3.1 device descriptor offset field size value description 0 blength 1 0x12 size of this descriptor in bytes 1 bdescriptortype 1 0x01 device descriptor 2 bcdusb 2 0x0110 1.10 - current revision of usb spec. 4 bdeviceclass 1 0x00 device defined at interface level 5 bdevicesubclass 1 0x00 unused 6 bdeviceprotocol 1 0x00 unused 7 bmaxpacketsize0 1 0x08 8 bytes 8 idvendor 2 0x0556 akm?s vendor id 10 idproduct 2 0x0004 upper 00 means audio product lower 03 means akm product id 12 bcddevice 2 0x0100 device release code 14 imanufacturer 1 0x01 ? akm ? 15 iproduct 1 0x02 ? ak4571? 16 iserialnumber 1 0x00 unused 17 bnumconfigurations 1 0x01 one configuration table device descriptor 3.2 configuration descriptor offset field size value description 0 blength 1 0x09 size of this descriptor 1 bdescriptortype 1 0x02 configuration descriptor 2 wtotallength 2 0x011c length of entire configuration block total 284 bytes including this interface descriptor. 4 bnuminterfaces 1 0x04 four interfaces 5 bconfigurationvalue 1 0x01 index of this configuration 6 iconfiguration 1 0x00 null string 7 bmattributes 1 0x80 supports bus powered device 8 maxpower 1 0x31 98ma
asahi kasei [ak4571] ms0153-e-03 2005/06 - 26 - 3.3 interface descriptor # 0 3.3.1 standard audio control interface descriptor offset field size value description 0 blength 1 0x09 size of this descriptor 1 bdescriptortype 1 0x04 interface descriptor 2 binterfacenumber 1 0x00 index of this interface 3 balternatesetting 1 0x00 index of this setting 4 bnumendpoints 1 0x00 only uses endpoint 0 5 binterfaceclass 1 0x01 audio 6 binterfacesubclass 1 0x01 audio_control 7 binterfaceprotocol 1 0x00 not vendor or class specific 8 iinterface 1 0x00 null string table standard interface descriptor 3.3.2 class-specific audio control interface descriptor offset field size value description 0 blength 1 0x0a size of this descriptor 1 bdescriptortype 1 0x24 cs_interface 2 bdescriptorsubtype 1 0x01 header subtype 3 bcdadc 2 0x0100 revision of class specification ? 1.00 5 wtotallength 2 0x0065 total size of class-specific audio control interface descriptors 101 bytes (includes this descriptor) 7 bincollection 1 0x02 the number of streaming interfaces 8 bainterfacenr(0) 1 0x01 streaming interface number 1 belongs to this audio control interface. in interface 9 bainterfacenr(1) 1 0x02 streaming interface number 2 belongs to this audio control interface. out interface
asahi kasei [ak4571] ms0153-e-03 2005/06 - 27 - 3.3.3 terminal descriptor(id=3) d/a input terminal offset field size value description 0 blength 1 0x0c size of this descriptor 1 bdescriptortype 1 0x24 cs_interface 2 bdescriptorsubtype 1 0x02 input_terminal subtype 3 bterminalid 1 0x03 id of this terminal 4 wterminaltype 2 0x0101 terminal is usb streaming out 6 bassocterminal 1 0x04 associated with output terminal is 0x04 7 bnrchannels 1 0x02 two channel 8 wchannelconfig 2 0x0003 left/right front 10 ichannelnames 1 0x00 unused 11 iterminal 1 0x00 unused 3.3.4 terminal descriptor(id=4) lineout terminal offset field size value description 0 blength 1 0x09 size of this descriptor 1 bdescriptortype 1 0x24 cs_interface 2 bdescriptorsubtype 1 0x03 output_terminal subtype 3 bterminalid 1 0x04 id of this terminal 4 wterminaltype 2 0x0301 terminal is speaker 6 bassocterminal 1 0x03 associate with input terminal 0x03 7 bsourceid 1 0x08 from feature unit (id8) 8 iterminal 1 0x00 unused
asahi kasei [ak4571] ms0153-e-03 2005/06 - 28 - 3.3.5 terminal descriptor(id=1) analog microphone input terminal offset field size value description 0 blength 1 0x0c size of this descriptor 1 bdescriptortype 1 0x24 cs_interface 2 bdescriptorsubtype 1 0x02 input_terminal subtype 3 bterminalid 1 0x01 id of this terminal 4 wterminaltype 2 0x0201 terminal is microphone 6 bassocterminal 1 0x02 associated with output terminal 0x02 7 bnrchannels 1 0x01 one channel 8 wchannelconfig 2 0x0000 mono sets no position bit 10 ichannelnames 1 0x00 unused 11 iterminal 1 0x00 unused 3.3.6 terminal descriptor (id=2) a/d output terminal offset field size value description 0 blength 1 0x09 size of this descriptor 1 bdescriptortype 1 0x24 cs_interface 2 bdescriptorsubtype 1 0x03 output_terminal subtype 3 bterminalid 1 0x02 id of this terminal 4 wterminaltype 2 0x0101 terminal is usb streaming 6 bassocterminal 1 0x01 associate with input terminal is 0x01 7 bsourceid 1 0x05 from feature unit (id5) 8 iterminal 1 0x00 unused
asahi kasei [ak4571] ms0153-e-03 2005/06 - 29 - 3.3.7 feature unit desciptor(id=5) microphone recording volume unit offset field size value description 0 blength 1 0x08 size of this descriptor 1 bdescriptortype 1 0x24 cs_interface 2 bdescriptorsubtype 1 0x06 feature_unit descriptor subtype 3 bunitid 1 0x05 id of this feature unit 4 bsourceid 1 0x07 from selector unit 5 bcontrolsize 1 0x01 one byte control array 6 bmacontrols(0) 1 0x03 d0(mute), d1(volume) supported 7 ifeature 1 0x00 unused 3.3.8 feature unit desciptor(id=6) microphone playback volume unit offset field size value description 0 blength 1 0x08 size of this descriptor 1 bdescriptortype 1 0x24 cs_interface 2 bdescriptorsubtype 1 0x06 feature_unit descriptor subtype 3 bunitid 1 0x06 id of this feature unit 4 bsourceid 1 0x01 from input terminal (microphone) 5 bcontrolsize 1 0x01 one byte control array 6 bmacontrols(0) 1 0x03 d0(mute) d1(volume) supported 7 ifeature 1 0x00 unused 3.3.9 feature unit desciptor(id=8) lineout volume/bass boost unit offset field size value description 0 blength 1 0x0d size of this descriptor 1 bdescriptortype 1 0x24 cs_interface 2 bdescriptorsubtype 1 0x06 feature_unit descriptor subtype 3 bunitid 1 0x08 id of this feature unit 4 bsourceid 1 0x09 from mixer unit(id9) 5 bcontrolsize 1 0x02 two byte control array 6 bmacontrols(0) 1 0x0101 d0(mute) , d8(bass boost)is enable for channel0 8 bmacontrols(1) 1 0x0002 d1(volume) control is enable for channel 1 10 bmacontrols(2) 1 0x0002 d1(volume) control is enable for channel 2 12 ifeature 1 0x00 unused
asahi kasei [ak4571] ms0153-e-03 2005/06 - 30 - 3.3.10 mixer unit desciptor(id=9) mixer unit (d/a and microphone) offset field size value description 0 blength 1 0x0d size of this descriptor 1 bdescriptortype 1 0x24 cs_interface 2 bdescriptorsubtype 1 0x04 mixer_unit subtype 3 bunitid 1 0x09 id of this terminal 4 bnrinpins 1 0x02 number of input pin 5 basourceid(1) 1 0x06 from feature unit 2(id6) 6 basourceid(2) 1 0x03 from it(id3) 7 bnrchannels 1 0x02 number of logical output channels in the mixer?s output audio channel cluster 8 wchannnelconfig 2 0x0003 describes the spatial location l/r front 10 ichannelnames 1 0x00 index of string descriptor 11 bmcontrol 1 0x00 bit map no control 12 imixer 1 0x00 index of string descriptor 3.3.11 selector unit desciptor(id=7) offset field size value description 0 blength 1 0x07 size of this descriptor 1 bdescriptortype 1 0x24 cs_interface 2 bdescriptorsubtype 1 0x05 selector_unit descriptor subtype 3 bunitid 1 0x07 id of this feature unit 4 bnrinpins 1 0x01 inputs pins 5 bsourceid(1) 1 0x01 from input terminal 6 ifeature 1 0x00 unused
asahi kasei [ak4571] ms0153-e-03 2005/06 - 31 - 3.4 interface descriptor #1 3.4.1 standard interface descriptor (a/d audio streaming data) zero bandwidth offset field size value description 0 blength 1 0x09 length of this descriptor 1 bdescriptortype 1 0x04 interface descriptor 2 binterfacenumber 1 0x01 index of this interface 3 balternatesetting 1 0x00 index of this setting 4 bnumendpoints 1 0x00 0 endpoint 5 binterfaceclass 1 0x01 audio 6 binterfacesubclass 1 0x02 audio_streaming 7 binterfaceprotocol 1 0x00 unused 8 iinterface 1 0x00 null string
asahi kasei [ak4571] ms0153-e-03 2005/06 - 32 - 3.4.2 standard interface descriptor (a/d audio streaming data) offset field size value description 0 blength 1 0x09 length of this descriptor 1 bdescriptortype 1 0x04 interface descriptor 2 binterfacenumber 1 0x01 index of this interface 3 balternatesetting 1 0x01 index of this setting 4 bnumendpoints 1 0x01 1 endpoint 5 binterfaceclass 1 0x01 audio 6 binterfacesubclass 1 0x02 audio_streaming 7 binterfaceprotocol 1 0x00 unused 8 iinterface 1 0x00 null string 3.4.3 class-specific audio streaming interface descriptor offset field size value description 0 blength 1 0x07 length of this descriptor 1 bdescriptortype 1 0x24 cs_interface descriptor 2 bdescriptorsubtype 1 0x01 as_general 3 bterminallink 1 0x02 unit id of terminal(output terminal id) 4 bdelay 1 0x00 interface delay 5 wformattag 2 0x0001 pcm 3.4.4 type i format type descriptor offset field size value description 0 blength 1 0x1d size of this descriptor 1 bdescriptortype 1 0x24 cs_interface 2 bdescriptorsubtype 1 0x02 format_type 3 bformattype 1 0x01 format_type_i 4 bnrchannels 1 0x01 one channel 5 bsubframesize 1 0x02 two bytes per slot 6 bbitresolution 1 0x10 16 bits 7 bsamfreqtype 1 0x07 seven frequencies 8 tsamfreq[0] 3 0x001f40 8000hz 11 tsamfreq[1] 3 0x002b11 11025hz 14 tsamfreq[2] 3 0x003e80 16000hz 17 tsamfreq[3] 3 0x005622 22050hz 20 tsamfreq[4] 3 0x007d00 32000hz 23 tsamfreq[5] 3 0x00ac44 44100hz 26 tsamfreq[6] 3 0x00bb80 4800hz
asahi kasei [ak4571] ms0153-e-03 2005/06 - 33 - 3.4.5 standard endpoint descriptor offset field size value description 0 blength 1 0x09 length of this descriptor 1 bdescriptortype 1 0x05 endpoint descriptor 2 bendpointaddress 1 0x81 endpoint 1, in direction 3 bmattributes 1 0x05 isochronous, asynchronous 4 wmaxpacketsize 2 0x0064 2byte*50sample*1ch=100 byte/frame 6 binterval 1 0x01 one packet every frame (must be set to 1) 7 brefresh 1 0x00 unused 8 bsynchaddress 1 0x00 unused 3.4.6 class-specific isochronous audi o data endpoint descriptor offset field size value description 0 blength 1 0x07 size of this descriptor 1 bdescriptortype 1 0x25 cs_endpoint 2 bdescriptorsubtype 1 0x01 ep general 3 bmattributes 1 0x01 sample rate control 4 blockdelayunits 1 0x00 unused 5 wlockdelay 2 0x0000
asahi kasei [ak4571] ms0153-e-03 2005/06 - 34 - 3.5 interface descriptor #2 3.5.1 standard audio streaming interface descriptor (d/a audio streaming data) zero bandwidth offset field size value description 0 blength 1 0x09 length of this descriptor 1 bdescriptortype 1 0x04 interface descriptor 2 binterfacenumber 1 0x02 index of this interface 3 balternatesetting 1 0x00 index of this setting 4 bnumendpoints 1 0x00 endpoints 0 5 binterfaceclass 1 0x01 audio 6 binterfacesubclass 1 0x02 audio_streaming 7 binterfaceprotocol 1 0x00 unused 10 iinterface 1 0x00 null string 3.5.2 operational interface descriptor (d/a audio streaming data) offset field size value description 0 blength 1 0x09 length of this descriptor 1 bdescriptortype 1 0x04 interface descriptor 2 binterfacenumber 1 0x02 index of this interface 3 balternatesetting 1 0x01 index of this setting 4 bnumendpoints 1 0x01 streaming endpoint 5 binterfaceclass 1 0x01 audio 6 binterfacesubclass 1 0x02 audio_streaming 7 binterfaceprotocol 1 0x00 unused 8 iinterface 1 0x00 null string 3.5.3 class-specific audio streaming interf ace descriptor offset field size value description 0 blength 1 0x07 length of this descriptor 1 bdescriptortype 1 0x24 cs_interface descriptor 2 bdescriptorsubtype 1 0x01 as_general 3 bterminallink 1 0x03 unit id of terminal(input terminal) 4 bdelay 1 0x00 interface delay 5 wformattag 2 0x0001 pcm
asahi kasei [ak4571] ms0153-e-03 2005/06 - 35 - 3.5.4 type i format type descriptor offset field size value description 0 blength 1 0x1d size of this descriptor 1 bdescriptortype 1 0x24 cs_interface 2 bdescriptorsubtype 1 0x02 format_type 3 bformattype 1 0x01 format_type_i 4 bnrchannels 1 0x02 two channels 5 bsubframesize 1 0x02 two bytes per slot 6 bbitresolution 1 0x10 16 bits 7 bsamfreqtype 1 0x07 six frequencies 8 tsamfreq[0] 3 0x001f40 8000hz 11 tsamfreq[1] 3 0x002b11 11025hz 14 tsamfreq[2] 3 0x003e80 16000hz 17 tsamfreq[3] 3 0x005622 22050hz 20 tsamfreq[4] 3 0x007d00 32000hz 23 tsamfreq[5] 3 0x00ac44 44100hz 26 tsamfreq[6] 3 0x00bb80 48000hz 3.5.5 endpoint descriptor offset field size value description 0 blength 1 0x09 length of this descriptor 1 bdescriptortype 1 0x05 endpoint descriptor 2 bendpointaddress 1 0x02 endpoint 2, out direction 3 bmattributes 1 0x09 adaptive isochronous 4 wmaxpacketsize 2 0x00c8 2byte*(48+2)sample*2ch=200 byte/frame 6 binterval 1 0x01 1millisecond (must be set to 1) 7 brefresh 1 0x00 unused 8 bsynchaddress 1 0x00 unused 3.5.6 class-specific isochronous audio data endpoint descriptor offset field size value description 0 blength 1 0x07 size of this descriptor 1 bdescriptortype 1 0x25 cs_endpoint 2 bdescriptorsubtype 1 0x01 ep_general 3 bmattributes 1 0x01 sample rate control 4 blockdelayunits 1 0x00 unused 5 wlockdelay 2 0x0000 unused
asahi kasei [ak4571] ms0153-e-03 2005/06 - 36 - 3.6 interface #3 (hid class) 3.6.1 standard interface descriptor offset field size value description 0 blength 1 0x09 size of this descriptor 1 bdescriptortype 1 0x04 interface descriptor 2 binterfacenumber 1 0x03 index of this interface 3 balternatesetting 1 0x00 index of this setting 4 bnumendpoints 1 0x01 endpoint 1 5 binterfaceclass 1 0x03 hid 6 binterfacesubclass 1 0x00 non-boot device 7 binterfaceprotocol 1 0x00 unused 8 iinterface 1 0x00 null string 3.6.2 hid descriptor offset field size value description 0 blength 1 0x09 size of this descriptor 1 bdescriptortype 1 0x21 hid 2 bcdhid 2 0x0110 hid spec rev #1.10 4 bcoundtrycode 1 0x00 5 bnumdescriptor 1 0x01 6 bdescriptortype 1 0x22 report descriptor 7 bdescriptorlength 2 0x001f 31 bytes 3.6.3 endpoint descriptor offset field size value description 0 blength 1 0x07 length of this descriptor 1 bdescriptortype 1 0x05 endpoint descriptor 2 bendpointaddress 1 0x83 e ndpoint 3, in direction 3 bmattributes 1 0x03 interrupt 4 wmaxpacketsize 2 0x0001 6 winterval 1 0x40 64ms interval
asahi kasei [ak4571] ms0153-e-03 2005/06 - 37 - string descriptor string descriptors use unicode. 3.6.4 language id (0x00) index offset field size value description 0 blength 1 0x04 length of this descriptor 1 bdescriptortype 1 0x03 string descriptor 2 bstring 2 0x0409 ?english(us)? 3.6.5 imanufacterer(0x01) field in device descriptor for akm offset field size value description 0 blength 1 0x34 length of this descriptor 1 bdescriptortype 1 0x03 string descriptor 2 bstring 50 0x0041 0x004b 0x004d 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 ?akm ?
asahi kasei [ak4571] ms0153-e-03 2005/06 - 38 - 3.6.6 iproduct (0x02) field in device descriptor offset field size value description 0 blength 1 0x34 length of this descriptor 1 bdescriptortype 1 0x03 string descriptor 2 bstring 50 0x0041 0x004b 0x0034 0x0035 0x0037 0x0031 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 0x0020 ?ak4571 ?
asahi kasei [ak4571] ms0153-e-03 2005/06 - 39 - 4 standard device requests 4.1 clear feature the ak4571 return ack without error offset field size value description 0 bmrequesttype 1 0x00 0x02 device endpoint 1 brequest 1 0x01 clear_feature 2 wvalue 2 0x0000 0x0001 clear endpont0 halt clear remote_wakeup 4 windex 2 0x0000 6 wlength 2 0x000 4.2 get configuration the ak4571 returns ?1?. offset field size value description 0 bmrequesttype 1 0x80 1 brequest 1 0x08 get_configuration 2 wvalue 2 0x0000 4 windex 2 0x0000 6 wlength 2 0x0001 4.3 get descriptor the ak4571 returns the descriptor that is specified in wvalue field. offset field size value description 0 bmrequesttype 1 0x80 1 brequest 1 0x06 get_descriptor 2 wvalue 2 0xzzzz zzzz is assigned by host: high byte is desc. type, low byte is index. device : 0x0100 : (index is 0 only) configuration : 0x0200 4 windex 2 0x0000 6 wlength 2 0xzzzz descriptor length (zzzz is assigned by host) 4.4 get interface the ak4571 returns the current alternate value for the interface that is specified in windex field. ?0x00? or ?0x01? is returned for interface#1, or interface#2. only ?0x00? is returned for interface#0 or interface3. offset field size value description 0 bmrequesttype 1 0x81 1 brequest 1 0x0a get_interface 2 wvalue 2 0x0000 zero 4 windex 2 0x0000 0x0001 0x0002 0x0003 audio control interface audio streaming interface for a/d audio streaming interface for d/a hid interface 6 wlength 2 0x0001 ak4571 has both a zero bandwidth audio streaming interface and a normal audio streaming interface.
asahi kasei [ak4571] ms0153-e-03 2005/06 - 40 - 4.5 get status 4.5.1 get status offset field size value description 0 bmrequesttype 1 0x80 0x81 0x82 device interface endpoint 1 brequest 1 0x00 get_status 2 wvalue 2 0x0000 zero 4 windex 2 0x0000 0x0001 0x0002 0x0003 0x0000 0x0081 0x0002 0x0083 0x0084 bmrequesttype is ?device" bmrequesttype is ?interface ? bmrequesttype is i?nterface" bmrequesttype is ?interface ? bmrequesttype is ?endpoint" bmrequesttype is ?endpoint" *) bmrequesttype is ?endpoint" *) bmrequesttype is ?endpoint" *) 6 wlength 2 0x0002 *)this request is valid after ?set_interface request (except for alt0)" for each interface is issued. if the ak4571 receives get_status request prior to set_interface request, it return s stall. if set_interface request with alt1 is issued, get_status request is valid even if alternate value is returned to ?0?. the ak4571 has the following two bytes. a) device: 0x0000 (bus powered, no-remote wakeup) b) interface: 0x0000 c) endpoint: 0x0000 4.6 set address the ak4571 stores wvalue , and returns ack. it responds to the requests in which this address is specified after receiving this request. offset field size value description 0 bmrequesttype 1 0x00 zero 1 brequest 1 0x05 set_address 2 wvalue 2 0xzzzz device address : zzzz is assigned by host 4 windex 2 0x0000 zero 6 wlength 2 0x0000 zero 4.7 set configuration the ak4571 is set to the configuration state, and returns ack. as the ak4571 is defined as a single-configuration device, only ?0x00? or ?0x01? are valid terms. offset field size value description 0 bmrequesttype 1 0x00 zero 1 brequest 1 0x09 set_configuration 2 wvalue 2 0x0000 0x0001 others unconfigured state ak4571 is set to configuration state unconfigured state 4 windex 2 0x0000 zero 6 wlength 2 0x0000 zero
asahi kasei [ak4571] ms0153-e-03 2005/06 - 41 - 4.8 set feature offset field size value description 0 bmrequesttype 1 0x00 0x02 device endpoint 1 brequest 1 0x03 set_feature 2 wvalue 2 0x0000 0x0001 endpoint(0) halt remotre_wakeup 4 windex 2 0x0000 6 wlength 2 0x000 if wvalue is endpoint(0) halt, the ak4571 returns stall. if wvalue is remote_wakeup, the ak4571 returns ack without additional processing because it does not have a remote wakeup function. 4.9 set interface the ak4571 set alternate value that is specified in wvalue for the interface that is specified in windex field. either alt0 or alt1 can be set for iterface#1 or interface #2. only alt0 is valid for interface#0 or interface#3. offset field size value description 0 bmrequesttype 1 0x01 one d7 0 = host to device d6..5 0 = standard request d4..0 1 = recipient is interface 1 brequest 1 0x0b set_interface 2 wvalue 2 0x0000 or 0x0001 zero bandwidth alternate setting normal isochronous streaming 4 windex 2 0x0000 0x0001 0x0002 0x0003 audio control interface audio streaming interface in audio streaming interface out hid interface 6 wlength 2 0x0000 zero 4.10 synch frame the ak4571 does not support this request.
asahi kasei [ak4571] ms0153-e-03 2005/06 - 42 - 5 device specific requests if the ak4571 receives a request that is not supported, or if it receives an invalid parameter, the ak4571 returns stall. 5.1 set feature unit control request 5.1.1 mute control mute is controlled via the master channel. both left chan nel and right channel of lineout are muted at the same time. offset field size value description 0 bmrequesttype 1 0x21 1 brequest 1 0x01 set_cur 2 wvalue 2 0x0100 mute_control | channel_0 4 windex 2 0x0500 0x0600 0x0800 mute for mic recording volume | interface 0 mute for mic playback volume | interface 0 mute for lineout volume | interface 0 6 wlength 2 0x0001 the length of mute control parameter block parameter: offset field size value description 0 bmute 1 0x01 0x00 true false if invalid data is set, (i.e the parameter is not one of the above values), the ak4571 returns stall at data phase, and keeps p revious value. 5.1.2 bass boost offset field size value description 0 bmrequesttype 1 0x21 1 brequest 1 0x01 set_cur 2 wvalue 2 0x0900 bass_boost | channel_0 4 windex 2 0x0800 lineout bass boost | interface 0 6 wlength 2 0x0001 the length of mute control parameter block parameter: offset field size value description 0 bbassboost 1 0x01 0x00 true false if invalid data is set, (i.e the parameter is not one of the above values), the ak4571 returns stall at data phase, and keeps p revious value.
asahi kasei [ak4571] ms0153-e-03 2005/06 - 43 - 5.1.3 volume control the adc volume is controlled via the master channel, and the da c volume is controlled via channel 1 (left channel) and channel 2 (right channel) independently. offset field size value description 0 bmrequesttype 1 0x21 1 brequest 1 0x01 set_cur 2 wvalue 2 0x0200 0x0201 0x0202 a/d: volume_control | master channel dac: volume_control | channel_1 dac: volume_control | channel_2 4 windex 2 0x0500 0x0600 0x0800 0x0800 a/d feature unit id: 0x05 (mic rec master ch) a/d feature unit id: 0x06 (mic play master ch) d/a feature unit id: 0x08 (lineout lch volume) d/a feature unit id: 0x08 (lineout rch volume) lower byte: audio control interface (0x00) 6 wlength 2 0x0002 volume control parameter: offset field size value description 0 wvolume 2 0xzzzz the value is set by host the data format for volume follows usb?s ?device class definition for audio devices". if the parameter value is larger than th e maximum value, the ak4571 defaults to the maximum value. if th e parameter is smaller than minimum value, it defaults to the minimum value. ? volume for fu1 (id5: mic recordin g), and fu2 (id6: mic playback) the ak4571 recognizes the lower byte of the usb audio volume format as 00h. volume value usb audio class format 24.0db 0x7fff -------- -------- 24.0db 0x1800 23.0db 0x17ff -------- -------- 0.0db 0x0000 -------- ------- -30.0db 0xe200 -31.0db 0xe1ff ------- -31.0db 0x8000 ? volume for fu 3 (id 8: lineout) the ak4571 recognizes the lower byte of the usb audio volume format as 00h. volume value usb audio class format 0.0db 0x7fff -------- -------- 0.0db 0x0000 -1.0db 0xff00 -2.0db 0xfe00 ------- --------- -46.0db 0xd200 -47.0db 0xd100 -------- -------- -47.0db 0x8000
asahi kasei [ak4571] ms0153-e-03 2005/06 - 44 - 5.2 set selector unit control request 5.2.1 selector control offset field size value description 0 bmrequesttype 1 0x21 1 brequest 1 0x01 set_cur 2 wvalue 2 0x0000 zero 4 windex 2 0x0700 selector unit control | interface 0 6 wlength 2 0x0001 the length of mute control parameter block parameter: offset field size value description 0 bselector 1 0xzz the value is set by host the ak4571 returns ack, but ignores this value.
asahi kasei [ak4571] ms0153-e-03 2005/06 - 45 - 5.3 get feature unit control request 5.3.1 mute control offset field size value description 0 bmrequesttype 1 0xa1 1 brequest 1 0x81 get_cur 2 wvalue 2 0x0100 mute_control | channel_0 4 windex 2 0x0500 0x0600 0x0800 mute for mic recording volume | interface 0 mute for mic playback volume | interface 0 mute for lineout volume | interface 0 lower byte : audio control interface(0x00) 6 wlength 2 0x0001 the length of mute control parameter block the ak4571 returns current value. offset field size value description 0 bmute 1 0x01 0x00 true false default: mute off (0x00): fu1 (id5), fu3 (id8) mute on (0x01): fu2 (id6) 5.3.2 bass boost control offset field size value description 0 bmrequesttype 1 0xa1 1 brequest 1 0x81 get_cur 2 wvalue 2 0x0900 bass_boost | channel_0 4 windex 2 0x0800 feature unit | interface 0 6 wlength 2 0x0001 the length of mute control parameter block the ak4571 returns current value. offset field size value description 0 bbassboost 1 0x01 0x00 true false default bass boost off(0x00):
asahi kasei [ak4571] ms0153-e-03 2005/06 - 46 - 5.3.3 volume control offset field size value description 0 bmrequesttype 1 0xa1 1 brequest 1 0x81 0x82 0x83 0x84 get_cur get_min get_max get_res 2 wvalue 2 0x0200 0x0201 0x0202 volume_control | master ch (fu5, fu6) volume_control | channel_1 (fu8) volume_control | channel_2 (fu8) 4 windex 2 0x0500 0x0600 0x0800 mic recording volume | interface 0 mic playback volume | interface 0 lineout volume | interface 0 lower byte: audio control interface(0x00) 6 wlength 2 0x0002 volume control the ak4571 returns the following wvolume (two bytes). when it receives a request with other combinations, it returns stall. brequest wvalue windex wvolume (2 bytes) desciptorn 0x81 0x0200 0x0500 0xzzzz returns current mic volume of recording path. 0x81 0x0200 0x0600 0xzzzz returns current mic volume of playback path. 0x81 0x0201 0x0800 0xzzzz returns current left channel volume of lineout 0x81 0x0202 0x0800 0xzzzz returns current right channel volume of lineout 0x82 0x0200 0x0500 0xe100 returns minimum mic recording volume (-31db) 0x82 0x0200 0x0600 0xe100 returns minimum mic playback volume (-31db) 0x82 0x0201 0x0800 0xd100 returns minimum lineout volume (-47db) 0x82 0x0202 0x0800 0xd100 returns minimum lineout volume (-47db) 0x83 0x0200 0x0500 0x1800 returns maximum mic recording volume (+24db) 0x83 0x0200 0x0600 0x1800 returns maximum mic playback volume (+24db) 0x83 0x0201 0x0800 0x0000 returns maximum line out volume (0db) 0x83 0x0202 0x0800 0x0000 returns maximum line out volume (0db) 0x84 0x0200 0x0500 0x0100 returns resolution of mic recording volume (1db) 0x84 0x0200 0x0600 0x0100 returns resolution of mic playback volume (1db) 0x84 0x0201 0x0800 0x0100 returns resolution of lineout volume (1db) 0x84 0x0202 0x0800 0x0100 returns resolution of lineout volume (1db) default: 0db(0x0000)
asahi kasei [ak4571] ms0153-e-03 2005/06 - 47 - 5.4 get selector unit control request 5.4.1 selector control offset field size value description 0 bmrequesttype 1 0xa1 1 brequest 1 0x81 get_cur 2 wvalue 2 0x0000 zero 4 windex 2 0x0700 selector unit control | interface 0 6 wlength 2 0x0001 the length of selector control parameter block parameter: offset field size value description 0 bselector 1 0xzz ?0x01? 5.5 get mixer unit control request 5.5.1 mixer control offset field size value description 0 bmrequesttype 1 0xa1 1 brequest 1 0x81 0x82 0x83 0x84 get_cur get_min get_max get_res 2 wvalue 2 0x0000 zero 4 windex 2 0x0900 mixer unit | interface 0 6 wlength 2 0x000c the length of mixer control parameter block parameter: offset field size value description 0 bmixer 12 0xzz the ak4571 returns 6 words of ?0x0100? for get_res request, and returns the following 6 words for get_cur, get_min, and get_max requests. offset value description 0 0x0000 mic 1ch ---- lineout lch: 0db 2 0x0000 mic 1ch ---- lineout rch: 0db 4 0x0000 dac lch ---- lineout lch: 0db 6 0x8000 dac lch ---- lineout rch: -127db 8 0x8000 dac rch ---- lineout lch: -127db 10 0x0000 dac rch ---- lineout rch: 0db
asahi kasei [ak4571] ms0153-e-03 2005/06 - 48 - 5.6 endpoint control request the adc and dac can independently operate at seven sampling freque ncies. the sampling rate is set by a set endpoint control req uest. the ak4571 supports set_cur/get_cur for the brequest field, but does not support get_mi n, get_max, or get_res for the brequest field. 5.6.1 set endpoint control request offset field size value description 0 bmrequesttype 1 0x22 1 brequest 1 0x01 set_cur 2 wvalue 2 0x0100 upper byte: sampling_freq_control (0x01) lower byte : zero 4 windex 2 0x0081 0x0002 endpoint address (0x81: a/d) endpoint address (0x02: d/a) 6 wlength 2 0x0003 the length of sampling frequency parameter block parameter: offset field size value description 0 isamplefreq 3 0xyyyyyy the following seven values are valid. others are invalid. 0x001f40 : 8khz 0x002b11 : 11.025khz 0x003e80 : 16khz 0x005622 : 22.05khz 0x007d00 : 32khz 0x00ac44 : 44.1khz 0x00bb80 : 48khz the sampling rates of the adc and dac can be set independently. if the value entered is not one of the valid settings, the ak4 571 ignores the entered value without returning stall and keeps the previously entered value. 5.6.2 get endpoint control request for in endpoint offset field size value description 0 bmrequesttype 1 0xa2 1 brequest 1 0x81 get_cur 2 wvalue 2 0x0100 upper byte: sampling_freq_control (0x01) lower byte : zero 4 windex 2 0x0081 0x0002 endpoint address (0x81: a/d) endpoint address (0x02: d/a) 6 wlength 2 0x0003 the length of sampling frequency parameter block parameter: offset field size value description 0 isamplefreq 3 0xyyyyyy the following seven values are valid. others are invalid. 0x001f40 : 8khz 0x002b11 : 11.025khz 0x003e80 : 16khz 0x005622 : 22.05khz 0x007d00 : 32khz 0x00ac44 : 44.1khz ( default of this lsi ) 0x00bb80 : 48khz
asahi kasei [ak4571] ms0153-e-03 2005/06 - 49 - 5.7 hid related request 5.7.1 get descriptor (hid/report) offset field size value description 0 bmrequesttype 1 0x81 1 brequest 1 0x06 get_descriptor 2 wvalue 2 0x2100 0x2200 hid descriptor report descriptor 4 windex 2 0x0003 interface number (#3) 6 wlength 2 0xzzzz descriptor length (zzzz is assigned by host) the ak4571 returns a hid descriptor if wvalue is 0x2100. the ak4571 returns the following 31 bytes if wvalue is 0x2200. report descriptor usage page (consumer) 0x05, 0x0c usage (consumer control) 0x09, 0x01 collection (application) 0xa1, 0x01 logical minimum (0) 0x15, 0x00 logical maximum (1) 0x25, 0x01 usage (volume increment) 0x09, 0xe9 usage (volume decrement) 0x09, 0xea report size (1) 0x75, 0x 01 data length (1 bit) report count (2) 0x95, 0x02 number of data (inc, dec) input (data, variable, absolute, no_wrap, no_preferred) 0x81, 0x2a usage (mute) 0x09, 0xe2 report count (1) 0x95, 0x01 input (data, variable, relative, no_wrap, no_preferred) 0x81, 0x2e report count (5) 0x95, 0x05 input (constant) 0x81, 0x01 end collection 0xc0
asahi kasei [ak4571] ms0153-e-03 2005/06 - 50 - 5.7.2 get report request offset field size value description 0 bmrequesttype 1 0xa1 class specific request 1 brequest 1 0x01 get_report 2 wvalue 2 0x0100 report type (in) and report id 4 windex 2 0x0003 interface no (#3) 6 wlength 2 0xzzzz report descriptor length the ak4571 transmits one byte data that is the same format as interrupt transaction. if it receives a request, it sends the in ternal register value that reflects the button-press state of omute, inc and dec pins. note that the ak4571 does not clear the register after it receives this request. (it clears the register only on an interrupt transfer) 5.8 string related request offset field size value description 0 bmrequesttype 1 0x80 1 brequest 1 0x06 get_descriptor (string) 2 wvalue 2 0x03?? 0x03?? is assigned by host: 0x0300: langid 0x0301: imanufacturer 0x0302: iproduct 4 windex 2 don't care 6 wlength 2 0xzzzz descriptor length (zzzz is assigned by host) the ak4571 returns string descriptor that is specified in wvalue .
asahi kasei [ak4571] ms0153-e-03 2005/06 - 51 - 6 system block diagram figure 14 shows the system block diagram when a 1kbit eeprom is used. xtalout dgnd bgnd xtalin epsw 1 micin amp1o amp2i amp2o lbfi rbfi rbfo rout epdi epao sk cs testmode2 vrda vrad agnd va rstn susn omute inc mstat micbias imute epsel epen stby emsw vcom lbfo lout test1 test2 testmode1 testmode3 4.7 0.1 + 4.7 0.1 + 12mhz 47k 3.3n 47k 0.1u dec vd 47k 0.1u 47k 0.1u 47k 0.1u 10 1 + mic 1 4.7 0.1 + 4.7 0.1 + 4.7 0.1 + 2.7k 4.7k/2.2k 0.1 1n 1 10k< 1 10k< cb rb rb cb cb: 4.7n rb: 360k gain=19db, fc=94hz dp dn 1.5k vd lflt_sys lflt_44k lflt_48k test3 22n 120k 120k 6.8n 6.8n 10p *) 300 *) 10pf is recommended to get a stable analog performance. 10p *) figure 14 system block diagram
asahi kasei [ak4571] ms0153-e-03 2005/06 - 52 - 7 package 1 12 48 13 7.0 9.0 0.2 7.0 9.0 0.2 0.22 0.08 48 p in lqfp ( unit:mm ) 0.10 37 24 25 36 0.16 0.07 1.40 0.05 0.13 0.13 1.70max 0 10 0.10 m 0.5 0.2 0.5
asahi kasei [ak4571] ms0153-e-03 2005/06 - 53 - 8 marking AK4571VQ xxxxxxx 1 1) pin #1 indication 2) date code: xxxxxxx (7 digits) 3) marking code: AK4571VQ 4) asahi kasei logo
asahi kasei [ak4571] ms0153-e-03 2005/06 - 54 - important notice ? these products and their specifications are subject to change without notice. before considering any use or application, consult the asahi kasei microsystems co., ltd. (akm) sales office or authorized distributor concerning their current status. ? akm assumes no liability for infringement of any patent, intellectual property, or other right in the application or use of any information contained herein. ? any export of these products, or devices or systems containing them, may require an export license or other official approval under the law and regulations of the country of export pertaining to customs and tariffs, currency exchange, or strategic materials. ? akm products are neither intended nor authorized for use as critical components in any safety, life support, or other hazard related device or system, and akm assumes no responsibility relating to any such use, except with the express written consent of the representative director of akm. as used here: (a) a hazard related device or system is one designed or intended for life support or maintenance of safety or for applications in medicine, aerospace, nuclear energy, or other fields, in which its failure to function or perform may reasonably be expected to result in loss of life or in significant injury or damage to person or property. (b)a critical component is one whose failure to function or perform may reasonably be expected to result, whether directly or indirectly, in the loss of the safety or effectiveness of the device or system containing it, and which must therefore meet very high standards of performance and reliability. ? it is the responsibility of the buyer or distributor of an akm product who distri butes, disposes of, or otherwise places the product with a third party to notify that party in ad vance of the above content and conditions, and the buyer or distributor agrees to assume any and all responsibility and li ability for and hold akm ha rmless from any and all claims arising from the use of said product in the absence of such notification.


▲Up To Search▲   

 
Price & Availability of AK4571VQ

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X